package com.lanhu.designpattern.proxy.dynamicproxy.cglibproxy;

/**
 * author:zhangzg
 * date:2020/11/10 23:29
 */
public class Tenant implements Person{
    private String name;

    public Tenant() {
    }

    public Tenant(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public void findWarehouse() {
        System.out.println("我找两室一厅的房子");
    }
}
